﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsAppTcChess
{
    /// <summary>
    /// 块的状态
    /// </summary>
    enum BlockStatus   //枚举定义块的三种状态
    {
        Blank,  //空白
        Black,  //黑子
        White   //白子
    }
    /// <summary>
    /// 块对象
    /// </summary>
    class Block
    {
        /// <summary>
        /// 状态
        /// </summary>
        public BlockStatus Status { get; set; }

        /// <summary>
        /// 矩阵坐标
        /// </summary>
        public Point Point { get; set; }


        public Block( )
        {
            //初始状态为空白
            Status = BlockStatus.Blank;
        }

        public void Draw(Graphics g, Rectangle rec)
        {

        }
    }
}
